package com.hksj.base.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class PropertyVO implements Serializable {
    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("设备id")
    private String deviceId;

    @ApiModelProperty("属性名称")
    private String property;

    @ApiModelProperty("属性名称对应name")
    private String propertyName;

    @ApiModelProperty("属性值单位")
    private String unit;

    @ApiModelProperty("属性值数据类型")
    private String type;

    @ApiModelProperty("属性值")
    private String value;

    @ApiModelProperty("属性值数值类型")
    private Double numberValue;

    @ApiModelProperty("上报时间")
    private Date createTime;

    @ApiModelProperty("报警状态 0 = 正常  1 = 低于最小阈值的报警 2 = 高于最大阈值的报警 3 = 报警(不区分报警类型)")
    private Integer alarmStatus = 0;

    @ApiModelProperty("备注说明")
    private String remark;
}
